From: Arlo Breault
Date: Wed, 5 Oct 2016 22:22:46 +0000 (-0700)
Subject: Sync up with Parsoid parserTests.
X-Git-Tag: 1.31.0-rc.0~5194^2
X-Git-Url: http://git.cyclocoop.org//%22http:/%22.attribut_html%28%24lesurls%5B%24numero%5D%29.%22/%22?a=commitdiff_plain;h=c2d29bf3738182f147b01ef2b526ed79fbbe6d7b;p=lhc%2Fweb%2Fwiklou.git
Sync up with Parsoid parserTests.
This now aligns with Parsoid commit 5ce2da6623fbf6716d57f2cd25083ddfea97fe66
Change-Id: I3020cbbe620be05dd76778185f739f907fe5699b
---
diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt
index 2d7fc3d8fc..ba7b0d462a 100644
--- a/tests/parser/parserTests.txt
+++ b/tests/parser/parserTests.txt
@@ -14730,8 +14730,10 @@ Simple category
cat
!! wikitext
[[Category:MediaWiki User's Guide]]
-!! html
+!! html/php
cat=MediaWiki_User's_Guide sort=
+!! html/parsoid
+
!! end
!! test
@@ -14749,8 +14751,10 @@ Category with different sort key
cat
!! wikitext
[[Category:MediaWiki User's Guide|Foo]]
-!! html
+!! html/php
cat=MediaWiki_User's_Guide sort=Foo
+!! html/parsoid
+
!! end
!! test
@@ -14759,8 +14763,10 @@ Category with identical sort key
cat
!! wikitext
[[Category:MediaWiki User's Guide|MediaWiki User's Guide]]
-!! html
+!! html/php
cat=MediaWiki_User's_Guide sort=MediaWiki User's Guide
+!! html/parsoid
+
!! end
!! test
@@ -14785,22 +14791,15 @@ pst
[[Category:Foo (bar)|Foo]]
!! end
-## We used to, but no longer wt2wt this test since the default serializer
-## will normalize all categories to serialize on their own line.
-## This wikitext usage is going to be fairly uncommon in production and
-## selser will take care of preserving formatting in those scenarios.
!! test
Category with link tail
!! options
cat
pst
-parsoid=wt2html
!! wikitext
123[[Category:Foo]]456
!! html/php
123[[Category:Foo]]456
-!! html/parsoid
-
123456
!! end
!! test
@@ -19864,18 +19863,18 @@ language=sr
!! end
-
!! test
Simple category in language variants
!! options
language=sr cat
!! wikitext
[[Category:ÐедиаWики УÑеÑ'Ñ ÐÑиде]]
-!! html
+!! html/php
cat=ÐедиаWики_УÑеÑ'Ñ_ÐÑиде sort=
+!! html/parsoid
+
!! end
-
!! article
Category:åç±»
!! text
@@ -24824,9 +24823,16 @@ Improperly nested inline or quotes tags with whitespace in between
Encapsulate protected attributes from wt
!! wikitext